package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.TravelComment;
import cn.wolfcode.luowowo.comment.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

/**
 * 游记评论服务
 */
public interface ITravelCommentService {

    //添加
    TravelComment save(TravelComment comment);

    //mongodb的分页
    Page query(TravelCommentQuery qo);

    //查询评论数
    Long getCount(Long travelId);
}
